/*
 * Created on Jul 10, 2004
 *
 */
package littlecyberwar.control;

import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import java.awt.*;
import javax.swing.*;
import javax.swing.*;
import javax.swing.filechooser.*;
import javax.swing.tree.*;
import javax.swing.JButton;
import javax.swing.JFrame;
import javax.swing.JPanel;
import javax.swing.tree.DefaultMutableTreeNode;
import javax.swing.event.*;
import java.io.*;
import java.lang.Runnable; 


import littlecyberwar.util.*;
import littlecyberwar.ui.*;
import ModuleBuilder.model.*;

/**
 * @author Milton  Soong
 *
 * To change the template for this generated type comment go to
 * Window&gt;Preferences&gt;Java&gt;Code Generation&gt;Code and Comments
 */
public class ConvertorObjectInputStream extends ObjectInputStream {
	public ConvertorObjectInputStream( InputStream in ) throws IOException, StreamCorruptedException  {
		super(in);
		this.enableResolveObject(true);	
	}
	
//	protected Object resolveObject( Object obj ) throws IOException {
//		Debug.out("resolveObject");
//		if ( obj instanceof Element ){
//			Element newElement = Element.convert((Element)obj);
//			return ( newElement );
//		} else {
//			return ( obj );
//		}		
//	}
}
